package com.drama.api.sys.organization.domain.po;

import com.drama.api.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Table;
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "sys_organization")
public class SysOrganizationPO extends BaseEntity {


    /**
     * 组织机构名称
     */
    @Column(name = "organization_name")
    private String organizationName;

    /**
     * 组织机构描述
     */
    @Column(name = "organization_desc")
    private String organizationDesc;

    /**
     * 父级组织机构ID
     */
    @Column(name = "parent_id")
    private String parentId;

    /**
     * 父级机构ID集合(用逗号隔开所有父级ID)
     */
    @Column(name = "parent_ids")
    private String parentIds;




}